package com.ruoyi.project.cms.type.mapper;

import com.ruoyi.project.cms.type.domain.CmsType;

import java.util.List;

/**
 * @program: zhizun
 * @author: Mrs.ye
 * @create: 2020-09-15 19:24
 * @description:
 **/
public interface CmsTypeMapper {
    /**
     * 分页查询所有公告类型
     * @param cmsType
     * @return
     */
    List<CmsType> selectCmsTypeList(CmsType cmsType);

    int insertCmsType(CmsType cmsType);

    CmsType checkTypeNameUnique(String typeName);

    CmsType selectTypeById(Long typeId);

    int updateCmsType(CmsType cmsType);

    int removeCmsTypeById(Long[] ids);

}
